package com.asialjim.wechat.official.message.handler.event;

import com.asialjim.wechat.message.WeChatMessage;
import com.asialjim.wechat.message.WeChatMessageType;
import com.asialjim.wechat.message.handler.DefaultWeChatMessageHandler;
import com.asialjim.wechat.message.output.WeChatOutputMessage;
import com.asialjim.wechat.msgcrypt.WxBizMsgCryptService;
import com.asialjim.wechat.official.message.WeChatOfficialMessageType;
import com.asialjim.wechat.official.message.event.WeChatTemplateSendJobFinishEvent;
import com.asialjim.wechat.official.message.event.WeChatViewEvent;
import lombok.extern.slf4j.Slf4j;

/**
 * <h1><em>ASIAL JIM JAVA DOC</em></h1><hr/>
 * <h2>CLASS DESCRIPTION <i>[ NAME: TemplateSendJobFinishEventHandler ]</i></h2><strong>
 * <p> template send job finish event handler
 * </strong><p><p><em>Copyright &copy; Asial Jim Co., LTD</em><hr/>
 *
 * @author Asial Jim &nbsp;&nbsp; <span>Email:<a href="mailto:asialjim@hotmail.com">asialjim@hotmail.com</a> &nbsp;&nbsp; <a href="asialjim@qq.com">asialjim@qq.com</a></span>
 * @version 1.0.0
 * @since 2021/3/16   &nbsp;&nbsp; JDK 8
 */
@Slf4j
public class TemplateSendJobFinishEventHandler extends DefaultWeChatMessageHandler {
    public TemplateSendJobFinishEventHandler(WxBizMsgCryptService cryptService) {
        super(cryptService);
    }

    @Override
    protected WeChatOutputMessage output(WeChatMessage callMessage){
        WeChatTemplateSendJobFinishEvent event = (WeChatTemplateSendJobFinishEvent) callMessage;
        // TODO empty method
        return null;
    }

    @Override
    public String messageTypeName() {
        return WeChatOfficialMessageType.TEMPLATE_SEND_JOB_FINISH_EVENT.name();
    }
}
